package com.mcf.xiaolinju.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public class GoodsVO {
    /**
     * 主键
     */

    private Integer id;

    /**
     * 用户id
     */
    private String username;

    /**
     * 小区id
     */
    private Integer villageid;

    /**
     * 产品分类id
     */
    private Integer classifyid;

    /**
     * 产品名字
     */
    private String name;

    /**
     * 数量
     */
    private Integer count;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 型号
     */
    private String type;

    /**
     * 新旧程度
     */
    private String extent;

    /**
     * 商品图片
     */
    private String picture;

    /**
     * 购买渠道
     */
    private String channel;

    /**
     * 其他描述
     */
    private String content;

    /**
     * 购买日期
     */
    private LocalDate buytime;

    /**
     * 出售价格
     */
    private String price;

    /**
     * 购买时的价格
     */
    private String  priced;

    /**
     * 发布时间
     */
    private LocalDateTime createtime;
    /**
     * 头像地址
     */
    private String portrait;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getVillageid() {
        return villageid;
    }

    public void setVillageid(Integer villageid) {
        this.villageid = villageid;
    }

    public Integer getClassifyid() {
        return classifyid;
    }

    public void setClassifyid(Integer classifyid) {
        this.classifyid = classifyid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getExtent() {
        return extent;
    }

    public void setExtent(String extent) {
        this.extent = extent;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDate getBuytime() {
        return buytime;
    }

    public void setBuytime(LocalDate buytime) {
        this.buytime = buytime;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPriced() {
        return priced;
    }

    public void setPriced(String priced) {
        this.priced = priced;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    @Override
    public String toString() {
        return "GoodsVO{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", villageid=" + villageid +
                ", classifyid=" + classifyid +
                ", name='" + name + '\'' +
                ", count=" + count +
                ", brand='" + brand + '\'' +
                ", type='" + type + '\'' +
                ", extent='" + extent + '\'' +
                ", picture='" + picture + '\'' +
                ", channel='" + channel + '\'' +
                ", content='" + content + '\'' +
                ", buytime=" + buytime +
                ", price=" + price +
                ", priced=" + priced +
                ", createtime=" + createtime +
                ", portrait='" + portrait + '\'' +
                '}';
    }
}
